package com.qfedu.service.impl;

import com.qfedu.entity.CustomerEntity;
import com.qfedu.mapper.CustomerPojoMapper;
import com.qfedu.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerServiceimpl implements CustomerService {
    @Autowired
    private CustomerPojoMapper customerPojoMapper;
    @Override
    public CustomerEntity queryCustomer(int cid) {
        CustomerEntity customerEntity = customerPojoMapper.queryHoutai(cid);
        return customerEntity;
    }
}
